package cn.stylefeng.guns.modular.tool.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

/**
 * 计件明细
 */
@TableName("tool_task_money")
@Data
public class ToolTaskMoney implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 作业id
     */
    @TableField("wave_id")
    private Long waveId;

    /**
     *客户id
     */
    @TableField("customer_id")
    private Long customerId;

    /**
     * 客户名称
     */
    @TableField("customer_name")
    private String customerName;

    /**
     * 用户id
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 小组id
     */
    @TableField("arrange_id")
    private Long arrangeId;

    /**
     * 小组编号
     */
    @TableField("arrange_number")
    private String arrangeNumber;

    /**
     * 人员
     */
    @TableField("user_name")
    private String userName;

    /**
     * 商品组合
     */
    @TableField("goods_number")
    private String goodsNumber;

    /**
     * 组合数量
     */
    @TableField("num")
    private String num;

    /**
     * 单量
     */
    @TableField("order_num")
    private String orderNum;

    /**
     * 金额
     */
    @TableField("money")
    private String money;

    /**
     *作业日期
     */
    @TableField("v1")
    private String v1;

    /**
     *波次
     */
    @TableField("v2")
    private String v2;

    /**
     *类型
     */
    @TableField("v3")
    private String v3;

    /**
     *作业数
     */
    @TableField("v4")
    private String v4;

    /**
     * sku数
     */
    @TableField("sku_num")
    private String skuNum;

    /**
     *v5
     */
    @TableField("v5")
    private String v5;

    /**
     *v6
     */
    @TableField("v6")
    private String v6;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 交付客户id
     */
    @TableField("deliver_id")
    private Long deliverId;

    @Override
    public String toString() {
        return "ToolTaskMoney{" +
        "id=" + id +
        ", waveId=" + waveId +
        ", userId=" + userId +
        ", userName=" + userName +
        ", goodsNumber=" + goodsNumber +
        ", num=" + num +
        ", orderNum=" + orderNum +
        ", money=" + money +
        ", v1=" + v1 +
        ", v2=" + v2 +
        ", deptId=" + deptId +
        ", deliverId=" + deliverId +
        "}";
    }
}
